/*
 ***************************************************************************************
 *  Copyright (C) 2006 EsperTech, Inc. All rights reserved.                            *
 *  http://www.espertech.com/esper                                                     *
 *  http://www.espertech.com                                                           *
 *  ---------------------------------------------------------------------------------- *
 *  The software in this package is published under the terms of the GPL license       *
 *  a copy of which has been included with this distribution in the license.txt file.  *
 ***************************************************************************************
 */
package com.espertech.esper.common.internal.epl.lookupplan;

import com.espertech.esper.common.client.type.EPTypeClass;
import com.espertech.esper.common.internal.epl.expression.core.ExprNode;

/**
 * Holds property information for joined properties in a lookup.
 */
public class SubordPropInKeywordSingleIndex {
    private final String indexedProp;
    private final EPTypeClass coercionType;
    private final ExprNode[] expressions;

    public SubordPropInKeywordSingleIndex(String indexedProp, EPTypeClass coercionType, ExprNode[] expressions) {
        this.indexedProp = indexedProp;
        this.coercionType = coercionType;
        this.expressions = expressions;
    }

    public String getIndexedProp() {
        return indexedProp;
    }

    public EPTypeClass getCoercionType() {
        return coercionType;
    }

    public ExprNode[] getExpressions() {
        return expressions;
    }
}
